package com.chen.manager.service;

import com.chen.model.dto.system.LoginDto;
import com.chen.model.dto.system.SysUserDto;
import com.chen.model.entity.system.SysUser;
import com.chen.model.vo.system.LoginVo;
import com.github.pagehelper.PageInfo;

/**
 * @author cgj
 * @date 2/6/25 2:12 PM
 */

public interface SysUserService {
    LoginVo login(LoginDto loginDto);

    SysUser getUserINfo(String token);

    void logout(String token);

    PageInfo<SysUser> selectSysUserByPage(Integer pageNum, Integer pageSize, SysUserDto sysUserDto);

    void savaUser(SysUser sysUser);

    void editUser(SysUser sysUser);

    void deleteUserById(Integer id);
}
